import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;

//TIP 要<b>运行</b>代码，请按 <shortcut actionId="Run"/> 或
// 点击装订区域中的 <icon src="AllIcons.Actions.Execute"/> 图标。
public class server {
    public static void main(String[] args) throws Exception {
        ServerSocket serverSocket=new ServerSocket(9999);
        Socket client = serverSocket.accept();
        PrintStream out=new PrintStream(client.getOutputStream());
        System.out.println("www.yootk.com");
        client.shutdownOutput();
        serverSocket.close();
        }

}